import request from '@/utils/request'

export function getFairListApi(params) {
    return request({
        url: '/findAllByCrtTime',
        method: 'get',
        params
    })
}

export function getByIdApi(params) {
    return request({
        url: '/findAllById',
        method: 'get',
        params
    })
}
export function getEnterpriseByFairApi(params) {
    return request({
        url: '/getEnterpriseByFair',
        method: 'post',
        params
    })
}

export function queryFairEnterpriseApi(params) {
    return request({
        url: '/jobFairCorporateInformation/applets/list',
        method: 'get',
        params
    })
}

export function getPublishByFairApi(params) {
    return request({
        url: '/getPublishByFair',
        method: 'get',
        params
    })
}
export function getPositionByFairApi(params) {
    return request({
        url: '/jobFairCorporateInformation/applets/details',
        method: 'get',
        params
    })
}

export function selectEnterpriseDetailsApi(params) {
    return request({
        url: '/selectEnterpriseDetails',
        method: 'post',
        params
    })
}
export function getEnterpriseByIdApi(params) {
    return request({
        url: '/getEnterpriseById',
        method: 'get',
        params
    })
}
